//
//  additionTableViewCell.m
//  chatchatchat
//
//  Created by lanou3g on 16/3/23.
//  Copyright © 2016年 小灰灰. All rights reserved.
//

#import "additionTableViewCell.h"

@implementation additionTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier])
    {
        self.aImageView = [[UIImageView alloc]init];
        
        self.aImageView.frame = CGRectMake(20, 5, 40, 40);
        
        self.aImageView.backgroundColor = [UIColor redColor];
        
        [self addSubview:self.aImageView];
        
        self.aLabel = [[UILabel alloc]init];
        
        self.aLabel.frame = CGRectMake(70, 5, 100, 23);
        
        self.aLabel.font = [UIFont systemFontOfSize:15];
        
        [self addSubview:self.aLabel];
        
        self.bLabel = [[UILabel alloc]init];
        
        self.bLabel.frame = CGRectMake(70, 28, 200, 15);
        
        self.bLabel.font = [UIFont systemFontOfSize:12];
        
        self.bLabel.textColor = [UIColor grayColor];
        
        [self addSubview:self.bLabel];
    }
    return self;
}

@end
